//package com.itzhouwei.commerce.thread.core.demo7;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//@RestController
//@RequestMapping(value = "/test")
//public class TestController {
//
//    @Autowired
//    private SpringAsync asyncService;
//
//    @GetMapping(value = "/do-test")
//    public String doTest(){
//        //每次调用都会将该方法扔入一个线程池中执行
//        asyncService.testAsync();
//        return "success";
//    }
//}